package com.gyc.simple.sysuser.service.impl;

import com.gyc.simple.sysuser.dao.base.IFileMapper;
import com.gyc.simple.sysuser.entity.base.IFile;
import com.gyc.simple.sysuser.service.FileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@Service
public class FileServiceImpl implements FileService {

    @Autowired
    private IFileMapper fileMapper;
    @Override
    public boolean insertSelective(IFile record) {
        return fileMapper.insertSelective(record)==1?true:false;
    }
}
